package cn.smbms.service;

import java.util.List;

import cn.pojo.User;

public interface UserService {
	public List<User> UserList(String name,Integer role,int index);
	public User login(String code,String pwd);
	public User userCode(String code);
	public Integer getCount(String name,Integer role);
	public int useradd(User user);
	public int userUp(User user);
	public User getById(String id);
	public int pwdUp(String code,String pwd);
	public int delById(String id);
}
